package com.fanyouzhao.ehome.service;

import com.fanyouzhao.ehome.entity.Cp;

import java.util.List;

/**
 * @Author: fanyouzhao
 * @Date: 10:12 2021/5/10
 */
public interface CpService {

   List<Cp> selectAll() throws Exception;

   List<Cp> selectByPage(Integer page,Integer size) throws Exception;

   Cp selectById(Integer id) throws Exception;

   Boolean insert(Cp cp) throws Exception;

   Boolean update(Integer id,Cp cp) throws Exception;

   Boolean deleteById(Integer id) throws Exception;

   Integer getCount() throws Exception;

}
